def student_info(name,*scores,**details):
    average = sum(scores)/len(scores)
    print(f"学生：{name}")
    print(f"平均成绩：{average:.2f}")
    print(f"其他信息：{details}")

student_info("李华", 85, 90, 88, grade="大二", major="计算机")